package com.zkhz.base.security.authentication.userdetails.facade;

import org.springframework.security.core.GrantedAuthority;

import java.util.Collection;

/**
 * @Description 功能权限服务接口
 *
 * @author wuzeqin
 * @date 2020/6/4
 **/
public interface GrantedAuthorityService {

    /**
     * 获取用户的权限
     */
    Collection<? extends GrantedAuthority> getGrantedAuthorityByUserId(String userId);

}
